package main

import "fmt"

type Person22 struct {
	Name string
}

func test01(p Person22) {
	fmt.Println(p.Name)
}

func test02(p *Person22) {
	fmt.Println(p.Name)
}

func main() {
	p := Person22{"tom"}
	test01(p)
	test02(&p)
}
